package com.ruoyi.zhjd.laboratory.modules.laboratoryMechanicsYGroup.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.zhjd.laboratory.modules.laboratoryMechanicsYGroup.entity.MechanicsYGroupEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 压力机数据_主表
 */
@Mapper
public interface MechanicsYGroupMapper extends BaseMapper<MechanicsYGroupEntity> {
    /**
     * 获取分页列表数据
     *
     * @param page   分页信息
     * @param params 查询条件
     * @return 分页列表数据
     */
    IPage<MechanicsYGroupEntity> query(IPage<MechanicsYGroupEntity> page, @Param("params") Map<String, Object> params);

    MechanicsYGroupEntity selectGroupOne();

    List<Integer> selectIds(String deptId);
}
